package com.framework.modules.guild.service;

import com.baomidou.mybatisplus.service.IService;
import com.framework.common.utils.PageUtils;
import com.framework.modules.base.entity.UserEntity;
import com.framework.modules.guild.entity.GuildEntity;
import org.apache.ibatis.annotations.Param;

import java.awt.*;
import java.util.List;
import java.util.Map;

/**
 * 公会表 
 *
 * @author MIT
 * @email litmiss@gmail.com
 * @date 2020-11-10 12:50:42
 */
public interface GuildService extends IService<GuildEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 检查MCN公会会长登陆权限
     * @param username
     * @return
     */
    Map<String, Object> checkMcnLogin(String username);

    /**
     * 查询最新的公会签约人员
     * @param guildId
     * @return
     */
    List<Map<String,Object>> getNewerGuildMembers(Integer guildId);

    /**
     * 统计公会各项数据信息
     * @return
     */
    List<Map<String,Object>> getGuildStatList(Integer guildId);


    /**
     * 查询公会主播详细信息
     * @param uid
     * @param guildId
     * @return
     */
    Map<String,Object> GetGuildMemberFullInfo(Integer uid, Integer guildId);
}

